﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SX.Core
{
    /// <summary>
    /// 分页查询模型
    /// </summary>
    public class QueryModel
    {
        public int PageIndex { get; set; } = 1;

        public int PageSize { get; set; } = 15;
        /// <summary>
        /// 排序方式
        /// </summary>
        public string SortType { get; set; } = "Desc";

        /// <summary>
        /// 排序字段
        /// </summary>
        public string SortBy { get; set; } = "CreateTime";
    }
}
